/*
 * @Description:
 * @Autor: dongjunhua
 * @Date: 2021-01-27 13:17:54
 * @LastEditors: dongjunhua
 * @LastEditTime: 2021-01-27 13:21:36
 */

const getters = {
  sidebar: state => state.app.sidebar,
  user: state => state.subject.user,
  menuList: state => (state.subject.user ? state.subject.user.menuList : [])
};

export default getters;
